From 16a43727faa87072aa79315c5812deb3bb4870d8 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 3 Jun 2008 02:48:37 +0000 Subject: [PATCH] =?utf8?q?=20=20=20=20=20=20=20=20Bug=20536092=20=E2=80=93?= =?utf8?q?=20GtkEntryCompletion's=20popup=20window=20should=20set=20type?= =?utf8?q?=20hint?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set a type hint on the popup window to help compiz. Patch by Vaclav Slavik. svn path=/trunk/; revision=20294 --- ChangeLog | 8 ++++++++ gtk/gtkentrycompletion.c | 1 + 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 5b3a86c5c7..8704974a3c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-06-02 Matthias Clasen + + Bug 536092 – GtkEntryCompletion's popup window should set type hint + + * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set + a type hint on the popup window to help compiz. + Patch by Vaclav Slavik. + 2008-06-02 Claudio Saavedra Bug 535862 – gtk_action_create_icon can't create icons from the diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c index ed1d3c1fe3..2fc582ecdf 100644 --- a/gtk/gtkentrycompletion.c +++ b/gtk/gtkentrycompletion.c @@ -505,6 +505,7 @@ gtk_entry_completion_init (GtkEntryCompletion *completion) /* pack it all */ priv->popup_window = gtk_window_new (GTK_WINDOW_POPUP); gtk_window_set_resizable (GTK_WINDOW (priv->popup_window), FALSE); + gtk_window_set_type_hint(GTK_WINDOW(priv->popup_window), GDK_WINDOW_TYPE_HINT_COMBO); g_signal_connect (priv->popup_window, "key_press_event", G_CALLBACK (gtk_entry_completion_popup_key_event), completion); -- 2.30.2